#include<bits/stdc++.h>

using namespace std;

//ctype.h 判断字符的种类
int main() {
    char ch;
    cin >> ch;
    if ('0' <= ch && ch <= '9') {
        cout << "is digit!" << endl;
    } else if ('A' <= ch && ch <= 'Z') {
        cout << "is uppercase Letter" << endl;
    } else if ('a' <= ch && ch <= 'z') {
        cout << "is lowercase Letter" << endl;
    }
}
